package com.day11moring.java;

public interface Universe {
    void doAnthing();
}

class Star{
    public void shine(){
        System.out.println("一闪一闪亮晶晶");
    }
}

class Sun extends Star implements Universe{
    @Override
    public void doAnthing() {
        System.out.println("太阳吸引着9大行星旋转");
    }

    @Override
    public void shine() {
        super.shine();
        System.out.println("sun:光照八分钟,到达地球");

    }
}
